package net.xdclass.mapper;

import net.xdclass.entity.ProductOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lixin
 * @since 2024-09-03
 */
public interface ProductOrderMapper extends BaseMapper<ProductOrder> {

    /**
     * 跟新订单状态
     * @param outTradeNo
     * @param name
     * @param oldState
     */
    void updateOrderPayState(@Param("outTradeNo") String outTradeNo, @Param("newState") String name, @Param("oldState") String oldState);
}
